package com.tao.gulimall.product.fegin;

import com.tao.common.to.SkuReductionTo;
import com.tao.common.to.SpuBoundsTo;
import com.tao.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("gulimall-coupon")
public interface CouponFeginService {

	@PostMapping("/coupon/spubounds/save")
	R saveSpuBounds(@RequestBody SpuBoundsTo spuBoundsTo);

	@PostMapping("/coupon/skufullreduction/saveInfo")
	R saveSkuReduction(SkuReductionTo skuReductionTo);
}
